package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_ghost_disperse", desc = "鬼市boss触发日志", autoSave = true, uploadCk = true)
public class LogGhostDisperse extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "类型，1发现活阎王，2boss全清")
    private int type;
    @FieldTypeAnnotation(desc = "是否为触发者，1触发者，0不是触发者")
    private boolean isSpec;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogGhostDisperse(int activityId, long userId, int type, boolean isSpec, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.type = type;
        this.isSpec = isSpec;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
